Skip to main content

TIN Verification

Verify Tax Identification Number (TIN)โ€‹

POST {{baseurl}}/api/v1/id-verifications/business/ng/tin

Request Bodyโ€‹

NameTypeDescription
id*StringValid TIN issued by FIRS
isSubjectConsent*BooleanIndicate subject has given consent. Must be true
validationObjectValidation Object
dataObjectData Validation Object
lastNameStringLast name to compare against ID
firstNameStringFirst name to compare against ID
dateOfBirthStringDate of birth to compare against ID

TIN Verificationโ€‹

TIN verification verifies that a provided Tax Identification Number issued by the Federal Inland Revenue Service (FIRS) exists in the database. It returns the registered information of the TIN holder:

{
"id": "12345678-0001",
"isSubjectConsent": true
}
{
"success": true,
"statusCode": 200,
"message": "success",
"data": {
"status": "found",
"reason": null,
"dataValidation": false,
"selfieValidation": false,
"firstName": "Sarah",
"middleName": "Jane",
"lastName": "Doe",
"email": "sarah.doe@example.com",
"mobile": "08000000000",
"dateOfBirth": "1988-04-04",
"isConsent": true,
"idNumber": "12345678-0001",
"taxOffice": "Lagos Island",
"registrationDate": "2018-09-15",
"taxpayerStatus": "Active",
"allValidationPassed": true,
"createdAt": "2023-06-20T18:20:11.552Z",
"updatedAt": "2023-06-20T18:20:11.552Z",
"country": "NG",
"metadata": {}
}
}

TIN Validationโ€‹

TIN Validation verifies a TIN and compares provided data parameters against the records in the database:

{
"id": "12345678-0001",
"isSubjectConsent": true,
"validations": {
"data": {
"lastName": "Doe",
"firstName": "Sarah",
"dateOfBirth": "1988-04-04"
}
}
}
{
"success": true,
"statusCode": 200,
"message": "success",
"data": {
"validations": {
"data": {
"lastName": {
"validated": true,
"value": "Doe"
},
"dateOfBirth": {
"validated": true,
"value": "1988-04-04"
},
"firstName": {
"validated": true,
"value": "Sarah"
}
},
"validationMessages": ""
},
"status": "found",
"reason": null,
"dataValidation": true,
"selfieValidation": false,
"firstName": "Sarah",
"middleName": "Jane",
"lastName": "Doe",
"email": "sarah.doe@example.com",
"mobile": "08000000000",
"dateOfBirth": "1988-04-04",
"isConsent": true,
"idNumber": "12345678-0001",
"taxOffice": "Lagos Island",
"registrationDate": "2018-09-15",
"taxpayerStatus": "Active",
"allValidationPassed": true,
"country": "NG",
"createdAt": "2023-06-20T18:24:16.916Z",
"lastModifiedAt": "2023-06-20T18:24:16.916Z",
"metadata": {}
}
}

Error Responsesโ€‹

HTTP/1.1 402 Payment Requiredโ€‹

{
"success": false,
"statusCode": 402,
"message": "Insufficient fund",
"name": "PaymentRequiredError",
"data": {}
}

HTTP/1.1 500 Internal Server Errorโ€‹

{
"success": false,
"statusCode": 500,
"message": "Service unavailable",
"name": "Error",
"data": {}
}

HTTP/1.1 403 Forbiddenโ€‹

{
"success": false,
"statusCode": 403,
"message": "Permission denied",
"name": "UnauthorizedError",
"data": {}
}